﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace mprsc
{
    public class Global
    {
        public static string CONNECTION_STRING
        {
            get { return ConfigurationManager.ConnectionStrings["ConStr"].ToString(); }
        }
       
        public static string SESSION_LOGIN_USER = "User";

        public static string SESSION_CART = "UserCart";
        public const string SL = "0";

        public static Boolean isloged;

        public static int ConvertToInt(string interger)
        {
            int i = 0;
            Int32.TryParse(interger, out i);

            return i;
        }
    }
}
